Slide 12

Tree ADT (Abstract Data Type)

Use the control panel to execute ADT operations on the tree.

ADT Operations

Select an operation to begin.

Code Interface (Python-like)

class Tree:
  def root(self): ...
  def is_empty(self): ...
  def parent(self, p): ...
  def children(self, p): ...